Optimal. Leaf size=176 \[ \frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}+\frac {4 b e^2 n}{21 g (e f-d g)^2 (f+g x)^{3/2}}+\frac {4 b e^3 n}{7 g (e f-d g)^3 \sqrt {f+g x}}-\frac {4 b e^{7/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{7 g (e f-d g)^{7/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 176, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2442, 53, 65,
214} \begin {gather*} -\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}-\frac {4 b e^{7/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{7 g (e f-d g)^{7/2}}+\frac {4 b e^3 n}{7 g \sqrt {f+g x} (e f-d g)^3}+\frac {4 b e^2 n}{21 g (f+g x)^{3/2} (e f-d g)^2}+\frac {4 b e n}{35 g (f+g x)^{5/2} (e f-d g)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 2442
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c (d+e x)^n\right )}{(f+g x)^{9/2}} \, dx &=-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}+\frac {(2 b e n) \int \frac {1}{(d+e x) (f+g x)^{7/2}} \, dx}{7 g}\\ &=\frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}+\frac {\left (2 b e^2 n\right ) \int \frac {1}{(d+e x) (f+g x)^{5/2}} \, dx}{7 g (e f-d g)}\\ &=\frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}+\frac {4 b e^2 n}{21 g (e f-d g)^2 (f+g x)^{3/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}+\frac {\left (2 b e^3 n\right ) \int \frac {1}{(d+e x) (f+g x)^{3/2}} \, dx}{7 g (e f-d g)^2}\\ &=\frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}+\frac {4 b e^2 n}{21 g (e f-d g)^2 (f+g x)^{3/2}}+\frac {4 b e^3 n}{7 g (e f-d g)^3 \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}+\frac {\left (2 b e^4 n\right ) \int \frac {1}{(d+e x) \sqrt {f+g x}} \, dx}{7 g (e f-d g)^3}\\ &=\frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}+\frac {4 b e^2 n}{21 g (e f-d g)^2 (f+g x)^{3/2}}+\frac {4 b e^3 n}{7 g (e f-d g)^3 \sqrt {f+g x}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}+\frac {\left (4 b e^4 n\right ) \text {Subst}\left (\int \frac {1}{d-\frac {e f}{g}+\frac {e x^2}{g}} \, dx,x,\sqrt {f+g x}\right )}{7 g^2 (e f-d g)^3}\\ &=\frac {4 b e n}{35 g (e f-d g) (f+g x)^{5/2}}+\frac {4 b e^2 n}{21 g (e f-d g)^2 (f+g x)^{3/2}}+\frac {4 b e^3 n}{7 g (e f-d g)^3 \sqrt {f+g x}}-\frac {4 b e^{7/2} n \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {f+g x}}{\sqrt {e f-d g}}\right )}{7 g (e f-d g)^{7/2}}-\frac {2 \left (a+b \log \left (c (d+e x)^n\right )\right )}{7 g (f+g x)^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.03, size = 78, normalized size = 0.44 \begin {gather*} \frac {2 \left (\frac {2 b e n (f+g x) \, _2F_1\left (-\frac {5}{2},1;-\frac {3}{2};\frac {e (f+g x)}{e f-d g}\right )}{e f-d g}-5 \left (a+b \log \left (c (d+e x)^n\right )\right )\right )}{35 g (f+g x)^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.16, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \left (e x +d \right )^{n}\right )}{\left (g x +f \right )^{\frac {9}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 566 vs.
\(2 (151) = 302\).
time = 0.40, size = 1177, normalized size = 6.69 \begin {gather*} \left [-\frac {2 \, {\left (15 \, {\left (b g^{4} n x^{4} + 4 \, b f g^{3} n x^{3} + 6 \, b f^{2} g^{2} n x^{2} + 4 \, b f^{3} g n x + b f^{4} n\right )} \sqrt {-\frac {e}{d g - f e}} e^{3} \log \left (-\frac {d g - 2 \, {\left (d g - f e\right )} \sqrt {g x + f} \sqrt {-\frac {e}{d g - f e}} - {\left (g x + 2 \, f\right )} e}{x e + d}\right ) + {\left (15 \, a d^{3} g^{3} + {\left (30 \, b g^{3} n x^{3} + 100 \, b f g^{2} n x^{2} + 116 \, b f^{2} g n x + 46 \, b f^{3} n - 15 \, a f^{3}\right )} e^{3} - {\left (10 \, b d g^{3} n x^{2} + 32 \, b d f g^{2} n x + 22 \, b d f^{2} g n - 45 \, a d f^{2} g\right )} e^{2} + 3 \, {\left (2 \, b d^{2} g^{3} n x + 2 \, b d^{2} f g^{2} n - 15 \, a d^{2} f g^{2}\right )} e + 15 \, {\left (b d^{3} g^{3} n - 3 \, b d^{2} f g^{2} n e + 3 \, b d f^{2} g n e^{2} - b f^{3} n e^{3}\right )} \log \left (x e + d\right ) + 15 \, {\left (b d^{3} g^{3} - 3 \, b d^{2} f g^{2} e + 3 \, b d f^{2} g e^{2} - b f^{3} e^{3}\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{105 \, {\left (d^{3} g^{8} x^{4} + 4 \, d^{3} f g^{7} x^{3} + 6 \, d^{3} f^{2} g^{6} x^{2} + 4 \, d^{3} f^{3} g^{5} x + d^{3} f^{4} g^{4} - {\left (f^{3} g^{5} x^{4} + 4 \, f^{4} g^{4} x^{3} + 6 \, f^{5} g^{3} x^{2} + 4 \, f^{6} g^{2} x + f^{7} g\right )} e^{3} + 3 \, {\left (d f^{2} g^{6} x^{4} + 4 \, d f^{3} g^{5} x^{3} + 6 \, d f^{4} g^{4} x^{2} + 4 \, d f^{5} g^{3} x + d f^{6} g^{2}\right )} e^{2} - 3 \, {\left (d^{2} f g^{7} x^{4} + 4 \, d^{2} f^{2} g^{6} x^{3} + 6 \, d^{2} f^{3} g^{5} x^{2} + 4 \, d^{2} f^{4} g^{4} x + d^{2} f^{5} g^{3}\right )} e\right )}}, -\frac {2 \, {\left (\frac {30 \, {\left (b g^{4} n x^{4} + 4 \, b f g^{3} n x^{3} + 6 \, b f^{2} g^{2} n x^{2} + 4 \, b f^{3} g n x + b f^{4} n\right )} \arctan \left (-\frac {\sqrt {d g - f e} e^{\left (-\frac {1}{2}\right )}}{\sqrt {g x + f}}\right ) e^{\frac {7}{2}}}{\sqrt {d g - f e}} + {\left (15 \, a d^{3} g^{3} + {\left (30 \, b g^{3} n x^{3} + 100 \, b f g^{2} n x^{2} + 116 \, b f^{2} g n x + 46 \, b f^{3} n - 15 \, a f^{3}\right )} e^{3} - {\left (10 \, b d g^{3} n x^{2} + 32 \, b d f g^{2} n x + 22 \, b d f^{2} g n - 45 \, a d f^{2} g\right )} e^{2} + 3 \, {\left (2 \, b d^{2} g^{3} n x + 2 \, b d^{2} f g^{2} n - 15 \, a d^{2} f g^{2}\right )} e + 15 \, {\left (b d^{3} g^{3} n - 3 \, b d^{2} f g^{2} n e + 3 \, b d f^{2} g n e^{2} - b f^{3} n e^{3}\right )} \log \left (x e + d\right ) + 15 \, {\left (b d^{3} g^{3} - 3 \, b d^{2} f g^{2} e + 3 \, b d f^{2} g e^{2} - b f^{3} e^{3}\right )} \log \left (c\right )\right )} \sqrt {g x + f}\right )}}{105 \, {\left (d^{3} g^{8} x^{4} + 4 \, d^{3} f g^{7} x^{3} + 6 \, d^{3} f^{2} g^{6} x^{2} + 4 \, d^{3} f^{3} g^{5} x + d^{3} f^{4} g^{4} - {\left (f^{3} g^{5} x^{4} + 4 \, f^{4} g^{4} x^{3} + 6 \, f^{5} g^{3} x^{2} + 4 \, f^{6} g^{2} x + f^{7} g\right )} e^{3} + 3 \, {\left (d f^{2} g^{6} x^{4} + 4 \, d f^{3} g^{5} x^{3} + 6 \, d f^{4} g^{4} x^{2} + 4 \, d f^{5} g^{3} x + d f^{6} g^{2}\right )} e^{2} - 3 \, {\left (d^{2} f g^{7} x^{4} + 4 \, d^{2} f^{2} g^{6} x^{3} + 6 \, d^{2} f^{3} g^{5} x^{2} + 4 \, d^{2} f^{4} g^{4} x + d^{2} f^{5} g^{3}\right )} e\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )}{{\left (f+g\,x\right )}^{9/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________